package com.knowledge.plus;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling   // 启用定时任务（添加注解后SpringBoot就已经认定了我们要使用定时任务来完成一些业务逻辑了，内部会对应原始配置给定时任务添加对应的配置文件。）
@SpringBootApplication
public class LearningApplication {

    public static void main(String[] args) {
        SpringApplication.run(LearningApplication.class, args);
    }

}
